package com.itheima.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：yuanjian
 * @date ：Created in 2020/11/9 19:40
 * @description：
 */
@RestController
@Api("health测试接口文档API")
public class TestController {

    @GetMapping("/delete/{id}")
    @ApiOperation(value = "删除检查项", notes = "根据检查项id 逻辑删除检查项")
    public String sayHello(@PathVariable("id") Integer id){
        return "删除"+id+"成功!";
    }
}
